package com.mingzhi.blog.service;

import com.mingzhi.blog.mapper.UserInfoMapper;
import com.mingzhi.blog.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo selectUserByName(String userName) {
        return userInfoMapper.selectByName(userName);
    }
}
